package com.api.net8;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "Net8Service")
public interface helloService {
    @GetMapping("/hello/list")
    Object list();
    @PostMapping("/hello/update")
    void UpdateS(@RequestParam("id") Long id, @RequestParam("name") String name);
}
